<template>
  <div>
    <avue-form v-model="recForm" :option="option" @submit="submitForm" />
  </div>
</template>

<script>
export default {
  name: 'CommonDate',
  props: ['option', 'objForm'],
  data() {
    return {
      recForm: this.objForm
    }
  },
  methods: {
    submitForm(param, done) {
      this.$emit('submitForm', param, done)
    }
  }
}
</script>

<style scoped>

</style>
